package utils.wallpaperCtrl;

import java.io.IOException;

/**
 * 子类：WallpaperCtrlUKUILinux
 * 子类调用事例 -- WallpaperCtrlUKUILinux.setPictureWallpaperStatic() -- new WallpaperCtrlUKUILinux().setPictureWallpaper()
 */
public interface WallpaperCtrl {
    /**
     * @param path 资源路径
     * 资源类型 --"jpg","jpe","jpeg","exr","pgm","pnm","sr","ras","png",
     * "bmp","tiff","tif","svg","apng","gif"（只会显示第一帧图片）--
     */
    void setPictureWallpaper(String path);

    /**
     * @param path 资源路径
     * 资源类型 mp4 ...
     */
    void setLiveWallpaper(String path) throws IOException;

    /**
     * 退出动态视频
     */
    void exitLiveWallpaper();
}
